ODBC and Postgres 7 - Mailing list pgsql-novice

From John VanDyk
Subject ODBC and Postgres 7
Date
Msg-id v04220803b566a7f8011e@[129.186.120.53]
Whole thread Raw
List pgsql-novice
My goal is to set up Postgres 7 on Red Hat 6.2 and access it via ODBC from an NT machine.

I've set up PostgreSQL and it seems to be working. I can create the test database and manipulate it.

I created a pg_hba.conf file in /usr/lib/pgsql using the pg_hba.conf.sample file as a starting point. I added a line
thatlooks like this 

host         all         1.2.3.4 255.255.255.0      trust

where 1.2.3.4 is the IP of my NT machine. I set up the ODBC driver and I can do a query but get the response

{error} STATE=28000, CODE=210, MSG=No pg_hba.conf entry for host 1.2.3.4, user skippy, database test

What have I missed? I thought the "all" took care of all users from 1.2.3.4.

Thanks in advance,

John

pgsql-novice by date:

Previous
From: "Karl F. Larsen"
Date:
Subject: Re: Problems compiling test program program form pgsql
Next
From: Kevin Lo
Date:
Subject: Re: any tutor/samples for installing/starting/programmingonNT ?